//Source file: D:\\JAVA\\GoldCard.java


public class GoldCard extends User 
{
   
   /**
   @roseuid 675723B700EE
    */
   public GoldCard() 
   {
    
   }
   
   /**
   @return Double
   @roseuid 675723BE0164
    */
   @Override
   public double calculatePrice() {
      if (getDiscount() == null) {
         // 默认使用折扣价策略（8折）
         setDiscount(new EightPrice());
      }
      return getDiscount().calculatePrice();
   }
}
